//
//  TDColorDefine.h
//  TopDesign
//
//  Created by 陈无忌 on 11/1/15.
//  Copyright © 2015 Wiseyep. All rights reserved.
//

#ifndef TDColorDefine_h
#define TDColorDefine_h

#define UIColorFromRGB(rgbValue) [UIColor \
colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \
blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

//颜色
#define RGBA(R/*红*/, G/*绿*/, B/*蓝*/, A/*透明*/) \
[UIColor colorWithRed:R/255.f green:G/255.f blue:B/255.f alpha:A]
#define WHITE [UIColor whiteColor]
#define BLACK [UIColor blackColor]
#define CLEAR [UIColor clearColor]
#define COLOR_SELECTED [UIColor colorWithRed:61/255.f green:177/255.f blue:152/255.f alpha:1]



#define COLOR_MENUSELECTED        UIColorFromRGB(0xff7978) //菜单选中色
#define COLOR_MENUUNSELECTED      UIColorFromRGB(0xffffff) //菜单未选中色
#define COLOR_UNSELECTED          UIColorFromRGB(0xdcdcdc) //商品详情页菜单未选中色

#define COLOR_THEHE               UIColorFromRGB(0x59BEA8) //主题色中色
#define RGB_THEME       RGBA(71, 183, 159, 1) //项目主题色

#endif /* TDColorDefine_h */
